package com.wang.web3.bean;

import java.math.BigInteger;
import java.util.List;

/**
 * Created by SAR on 2018/6/11.
 */

public class ContractBean {

    /**
     * AvatarEquipments : 0xe665002e04439f6593d493b3fe937dfe7f6f58f3
     * EquipmentMarket : 0xd502f4614f4d770bbedd5716bf57a2270f2827b0
     * Equipments : [{"address":"0xe40c0c56a658731cf0551265afa5a98a4e9bcaa8","cap":0,"category":"Background","duration":864000,"location":1,"name":"ColorfulBackground","symbol":"CB"},{"address":"0xd9ce85c6774b50c907bac562f089d32467a8b6d9","cap":"100000000000000000000","category":"Background","duration":864000,"location":1,"name":"BlackBackground","symbol":"BB"},{"address":"0xa65a84ad28ae633aebf9037eb6955325da1e5b1e","cap":"100000000000000000000","category":"PhotoFrame","duration":691200,"location":2,"name":"ShiningFrame","symbol":"SF"},{"address":"0xdbb1d13712c24dc0596acb2fb656eb4380f06c71","cap":0,"category":"PhotoFrame","duration":691200,"location":2,"name":"GoldenFrame","symbol":"GF"},{"address":"0xa454a0444bc7e25de9584cf95caa213b0aba6414","cap":0,"category":"Arms","duration":518400,"location":3,"name":"Sword","symbol":"SW"},{"address":"0xdec205e54a955673aadc2a46ec60f501bbd27ec7","cap":0,"category":"Arms","duration":518400,"location":3,"name":"Magic Staff","symbol":"MS"},{"address":"0x8c2d108859e4ea867704137250f24439476515d7","cap":0,"category":"Pets","duration":432000,"location":4,"name":"ShiningPet","symbol":"SP"},{"address":"0x7637a7b6723a8c61392a68365d08cd1e228a0f67","cap":"100000000000000000000","category":"Pets","duration":432000,"location":4,"name":"GoldenPet","symbol":"GP"}]
     * GirlCore : 0x3da7797f3b7f48da2524af98cdc411eb0a5f2f07
     * MagicBox : [{"address":"0xbb3c42d2f7f192d2564f96bf1c1e56562957a130","keyRequired":1000000000000000000,"magicKey":"GK","name":"Festival Box","prizeList":[1,2,3,4,13,14,15,16,17],"rangeList":[45000,5000,500,100,23000,23700,2000,700,10]},{"MagicKey":"IK","address":"0xf91a235f639e3b3cf8100b1a1f2c9301fcf17005","keyRequired":1000000000000000000,"name":"Basic Box","prizeList":[1,2,3,4,10,11,12,13,16,17],"rangeList":[5100,1,1,1,31631,31631,31631,1,1,1]},{"MagicKey":"IK","address":"0x20405713f470b9d5535a743e7af291d9c148b064","keyRequired":"20000000000000000000","name":"Girl Box","prizeList":[1,2,3,4],"rangeList":[55000,30000,13000,2000]},{"MagicKey":"IK","address":"0xa7b5379da3e9c15dfe31efaa7afdaee66b8de071","keyRequired":"20000000000000000000","name":"Item Box","prizeList":[10,11,12,13,14,15,16,17],"rangeList":[26700,26700,26700,7500,7500,4000,750,150]},{"MagicKey":"IK","address":"0x11f7c4bb7ee863dac70bb8e4b2535dc90436d036","keyRequired":"100000000000000000000","name":"Super Box","prizeList":[3,4,15,16,17],"rangeList":[29000,30000,35000,5000,1000]}]
     * MagicKeyFacotryIMP : 0xab821a15ce15c49fe3383d7ae4ec2def47ac9d7a
     * MagicKeys : [{"address":"0xe53d9f48e48075320c9c52a7b7e0ed67f4aca81d","box":["Festival Box"],"name":"GK","price":10000000000000000,"symbol":"GK"},{"address":"0xf02febf5f19281c49637391cdfdccf136d02cb72","box":["Basic Box","Girl Box","Item Box","Super Box"],"name":"IK","price":1000000000000000,"symbol":"IK"}]
     * PrizePool : 0xc5a87d50493a9bd3d4e6c802996de3f681d7c5bc
     * SaleClockAuction : 0x92b60f03466671db36cbd378766e65e779236602
     * cooAccount : 0x0083f6D8A235F0CeC0961974431B8EE0FCBf2914
     * serverAccount : 0x0083f6D8A235F0CeC0961974431B8EE0FCBf2914
     */

    private String AvatarEquipments;
    private String EquipmentMarket;
    private String GirlCore;
    private String MagicKeyFacotryIMP;
    private String PrizePool;
    private String SaleClockAuction;
    private String cooAccount;
    private String serverAccount;
    private List<EquipmentsBean> Equipments;
    private List<MagicBoxBean> MagicBox;
    private List<MagicKeysBean> MagicKeys;

    public String getAvatarEquipments() {
        return AvatarEquipments;
    }

    public void setAvatarEquipments(String AvatarEquipments) {
        this.AvatarEquipments = AvatarEquipments;
    }

    public String getEquipmentMarket() {
        return EquipmentMarket;
    }

    public void setEquipmentMarket(String EquipmentMarket) {
        this.EquipmentMarket = EquipmentMarket;
    }

    public String getGirlCore() {
        return GirlCore;
    }

    public void setGirlCore(String GirlCore) {
        this.GirlCore = GirlCore;
    }

    public String getMagicKeyFacotryIMP() {
        return MagicKeyFacotryIMP;
    }

    public void setMagicKeyFacotryIMP(String MagicKeyFacotryIMP) {
        this.MagicKeyFacotryIMP = MagicKeyFacotryIMP;
    }

    public String getPrizePool() {
        return PrizePool;
    }

    public void setPrizePool(String PrizePool) {
        this.PrizePool = PrizePool;
    }

    public String getSaleClockAuction() {
        return SaleClockAuction;
    }

    public void setSaleClockAuction(String SaleClockAuction) {
        this.SaleClockAuction = SaleClockAuction;
    }

    public String getCooAccount() {
        return cooAccount;
    }

    public void setCooAccount(String cooAccount) {
        this.cooAccount = cooAccount;
    }

    public String getServerAccount() {
        return serverAccount;
    }

    public void setServerAccount(String serverAccount) {
        this.serverAccount = serverAccount;
    }

    public List<EquipmentsBean> getEquipments() {
        return Equipments;
    }

    public void setEquipments(List<EquipmentsBean> Equipments) {
        this.Equipments = Equipments;
    }

    public List<MagicBoxBean> getMagicBox() {
        return MagicBox;
    }

    public void setMagicBox(List<MagicBoxBean> MagicBox) {
        this.MagicBox = MagicBox;
    }

    public List<MagicKeysBean> getMagicKeys() {
        return MagicKeys;
    }

    public void setMagicKeys(List<MagicKeysBean> MagicKeys) {
        this.MagicKeys = MagicKeys;
    }

    public static class EquipmentsBean {
        /**
         * address : 0xe40c0c56a658731cf0551265afa5a98a4e9bcaa8
         * cap : 0
         * category : Background
         * duration : 864000
         * location : 1
         * name : ColorfulBackground
         * symbol : CB
         */

        private String address;
        private BigInteger cap;
        private String category;
        private int duration;
        private int location;
        private String name;
        private String symbol;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public BigInteger getCap() {
            return cap;
        }

        public void setCap(BigInteger cap) {
            this.cap = cap;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public int getDuration() {
            return duration;
        }

        public void setDuration(int duration) {
            this.duration = duration;
        }

        public int getLocation() {
            return location;
        }

        public void setLocation(int location) {
            this.location = location;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSymbol() {
            return symbol;
        }

        public void setSymbol(String symbol) {
            this.symbol = symbol;
        }
    }

    public static class MagicBoxBean {
        /**
         * address : 0xbb3c42d2f7f192d2564f96bf1c1e56562957a130
         * keyRequired : 1000000000000000000
         * magicKey : GK
         * name : Festival Box
         * prizeList : [1,2,3,4,13,14,15,16,17]
         * rangeList : [45000,5000,500,100,23000,23700,2000,700,10]
         * MagicKey : IK
         */

        private String address;
        private BigInteger keyRequired;
        private String magicKey;
        private String name;
        private List<Integer> prizeList;
        private List<Integer> rangeList;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public BigInteger getKeyRequired() {
            return keyRequired;
        }

        public void setKeyRequired(BigInteger keyRequired) {
            this.keyRequired = keyRequired;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getMagicKey() {
            return magicKey;
        }

        public void setMagicKey(String magicKey) {
            this.magicKey = magicKey;
        }

        public List<Integer> getPrizeList() {
            return prizeList;
        }

        public void setPrizeList(List<Integer> prizeList) {
            this.prizeList = prizeList;
        }

        public List<Integer> getRangeList() {
            return rangeList;
        }

        public void setRangeList(List<Integer> rangeList) {
            this.rangeList = rangeList;
        }
    }

    public static class MagicKeysBean {
        /**
         * address : 0xe53d9f48e48075320c9c52a7b7e0ed67f4aca81d
         * box : ["Festival Box"]
         * name : GK
         * price : 10000000000000000
         * symbol : GK
         */

        private String address;
        private String name;
        private long price;
        private String symbol;
        private List<String> box;

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public long getPrice() {
            return price;
        }

        public void setPrice(long price) {
            this.price = price;
        }

        public String getSymbol() {
            return symbol;
        }

        public void setSymbol(String symbol) {
            this.symbol = symbol;
        }

        public List<String> getBox() {
            return box;
        }

        public void setBox(List<String> box) {
            this.box = box;
        }
    }
}
